﻿using MediatR;
using SmartCity.Passport.API.DTOS;
using SmartCity.Passport.ErrorCode;

namespace SmartCity.Passport.API.Applications.Commands
{
    /// <summary>
    /// 用户登录查询命令
    /// </summary>
    public class LoginQueryCommand:IRequest<APIResult<UserDTO>>
    {
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string UserPass { get; set; }
    }
}
